package com.hd.appcommon.entity.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @author: hzp
 * @date: 2022/1/1
 * @description: 不能继承teacher ,否则excel导出getDeclaredField会拿不到 父类 的属性
 */
@Data
public class TeacherInfoDto {

    private Integer id;

    /**
     * 钉钉userId
     */
    private String userId;
    private String name;
    private String phone;
    private String sno;
    private String sfz;
    private String deptids;

    private Date createTime;
    private Date modifyTime;



    private String deptName;
    // 是否打卡
    private String checkIn;
    private String checkAddress;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date checkDate;

    private String greenCode;

}
